﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Obsidian.Edm
{
    public class OrderInfo
    {

        private string fieldAlias;
        private OrderType orderType;

        public OrderInfo(string fieldAlias, OrderType orderType)
        {
            this.fieldAlias = fieldAlias;
            this.orderType = orderType;
        }

        public string FieldAlias
        {
            get { return fieldAlias; }
        }

        public OrderType OrderType
        {
            get { return this.orderType; }
            set { this.orderType = value; }
        }

    }

    public enum OrderType
    {
        NotSet,
        DESC,
        ASC
    }
}
